package com.xinbochuang.machine.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinbochuang.machine.admin.domain.Macinout;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *
 * @author 杜文博
 * @date 2020-10-14
 */
public interface MacinoutMapper extends BaseMapper<Macinout> {

    IPage<Macinout> getMacinoutForCheck(Page page,
                                        @Param("userId") Integer userId,
                                        @Param("orderId") String orderId,
                                        @Param("orderTheme") String orderTheme,
                                        @Param("orderStatus")Integer orderStatus,@Param("workType")Integer workType,@Param("queryWorkType")String queryWorkType,@Param("queryOrderStatus")String queryOrderStatus);
    Integer getMacinoutForCheckCount(@Param("userId") Integer userId, @Param("pageNum") Integer
            pageNum, @Param("pageSize") Integer pageSize );

    IPage<Map<String,Object>> getWaitCheckList(Page page,@Param("userId") String userid,@Param("queryOrderStatus") String queryOrderStatus);
    IPage<Map<String,Object>> getWaitCheckListWeb(Page page,@Param("userId") String userid,@Param("queryOrderStatus") String queryOrderStatus);
}
